@extends('wx.layout.extra')

@section('wx.pheader')

<div class="weui-form__text-area">
  <h4 style="padding:0 0 15px;text-align: left !important;font-weight: normal;"><img src="/assets/images/2020logo.jpg"  class="align-middle" style="width:30px;padding-right:4px;"/>长沙市妇女儿童活动中心</h4>
  <h1>小小少年抗疫宣传</h1>
</div>
@stop

@section('wx.pbody')

<div class="flex">
  @foreach($students as $key=>$student)
  <div class="flex_item">
    <div class="placeholder">
      <video
      poster="/assets/images/covid/{{$key}}.jpg"
      src="/uploads/covid/{{$key}}.mp4"
      type="video/mp4"
      webkit-playsinline="true"
      playsinline="true"
      controls
      x5-video-player-type="h5"
      x-webkit-airplay="allow"
      width="100%"
      ></video>
      <span class="desc">{{$student['name']}}</span>
    </div>
  </div>
  @endforeach


</div>
@stop

@section('javascript')

@stop